import Mongoose from "mongoose";
import { contentModel, messageModel } from "./model";


Mongoose.connect("mongodb://localhost:27017/blogContent", {
    useNewUrlParser: true,
}).then(() => {
    console.log("文章数据库已连接");
})

export {
    contentModel,
    messageModel
} 
